package com.music.profile.dao.impl;

import java.util.List;

import com.music.profile.beans.Playlist;

public interface PlaylistDAO {

	public abstract Long createPlaylist(String playlistName, Long memberId);

	public abstract boolean updatePlaylist(Playlist playlist);

	public abstract Playlist getPlaylist(Long playlistId);

	/**
	 * Delete the playlist. Makes use of transactions.
	 * @param playlistId
	 * @return
	 */
	public abstract boolean deletePlaylist(Long playlistId);

	public abstract boolean addSongsToPlaylist(Long playlistId,
			List<Long> songsList);

}